import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters.js'
import user from './modules/user.js'
import config from './modules/config.js'
import socket from './modules/socket.js'

Vue.use(Vuex)

export default new Vuex.Store({
	modules: {
		user,
		config,
		socket
	},
	getters
})